import request from '../utils/fetch'
export function getAdminUserList (data) {
  return request({
    url: '/admin/wxuser/getAdminUserList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getdingdanList (data) {
  return request({
    url: '/admin/backorder/getAdminBackOrderInfo',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}

export function gethuiyuanList (data) {
  return request({
    url: '/admin/finance/getUserOrderCostInfo',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function updateStatus (data) {
  return request({
    url: '/admin/wxuser/updateStatus',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}

export function sendMessage (data) {
  return request({
    url: '/admin/message/sendMessage',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getSendMessageDetail (data) {
  return request({
    url: '/admin/message/getSendMessageDetail',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function getAdminUserCount (data) {
  return request({
    url: '/admin/wxuser/getAdminUserCount',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}

export function getAdminUseInfo (data) {
  return request({
    url: '/admin/wxuser/getAdminUseInfo',
    method: 'get',
    requestBody: 'body',
    loading: true,
    params: data
  })
}




